fun String.isPalindrome():Boolean{
    return reversed()  == this
}

fun String.shout() = uppercase()

val str = "dad"

println(str.isPalindrome())
println(str.shout())

fun String.Companion.toURL(link:String) =  java.net.URL(link)

val url:java.net.URL = String.toURL("https://program.com")
println(url)